<?php

/**
 * index.php: main page for the quext application
 *
 * @author vbolshov
 */

include dirname(__FILE__) . '/../setup.php';

use quext\Quext;
use quext\Renderer;

$layout = Renderer::getLayout('index.tpl.php');
$layout->title = 'Games list';
$layout->games = Quext::getRootNodes();

$layout->render();